class GirlFriend(object):
    __slots__=["sex","weight","__age","height","color"]
    def __init__(self):
        self.sex="女"
        self.__age=18
        self.weight=100
        self.height=160
        self.color = "冷白皮"
    @property
    def age(self):
        return self.__age
    @age.setter
    def age(self,age):
        self.__age = age
gf = GirlFriend()
gf.age = 20
print(gf.age)
